home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ McAfee VirusScan 2.xpl < prev    next >
Text File  |  2001-11-27  |  1KB  |  48 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="7"
  3. "COUNT"="2"
  4. "UIPATH"="Program Options\Other Programs\McAfee VirusScan"
  5. "NAME"="User Interface"
  6. "LANGUAGE"="VBScript"
  7. "TEXT 1"="Use normal user interface"
  8. "TEXT 2"="Use basic user interface"
  9. "DESCRIPTION 1"="Normally, McAfee VirusScan uses an interface like that of the Windows Find dialog. However, it also has a more basic interface that you can use."
  10. "DESCRIPTION 2"="To enable the default interface, check the top option; to use the more basic interface, check the bottom option."
  11. "COMMENT 1"="Discovered by accident!"
  12. "VERSION"="1.01"
  13. "AUTHOR"="Xteq Systems (Neil R. Turner)"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "CONTACTURL"="http://www.xteq.com/"
  16.  
  17. sP="HKLM\Software\McAfee\Scan95\DefaultVSC"
  18. sN="UIType"
  19.  
  20. SUB Plugin_Initialize
  21.  s=RegReadValue(sP)
  22.  if IsEmpty(s)=false then
  23.   t=IniReadValue(s,"ScanOptions",sN)
  24.   if t="0" then
  25.    Call SetUIElement(1,true)
  26.   else
  27.    Call SetUIElement(2,true)
  28.   end if
  29.  else
  30.   Call Disable()
  31.  end if
  32. END SUB
  33.  
  34. SUB Plugin_Apply(ElementIndex,ElementSubIndex)
  35.  s=GetUIElement(1)
  36.  v=RegReadValue(sP)
  37.  if s=true then
  38.   Call IniWriteValue(v,"ScanOptions",sN,"0")
  39.  end if
  40.  
  41.  s=GetUIElement(2)
  42.  if s=true then
  43.   Call IniWriteValue(v,"ScanOptions",sN,"1")
  44.  end if
  45. END SUB
  46.  
  47. SUB Plugin_Terminate
  48. END SUB